package com.zkool.train.repository;

import com.zkool.train.entity.TrainNumber;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by zhaokui on 2019/8/11.
 */
@Repository
public interface TrainNumberRepository extends JpaRepository<TrainNumber, Long> {

    TrainNumber findByCode(String code);

}
